package BookTest;

public class C1creditCard extends C1BankCards{
    private double lendMoney;
    public C1creditCard(){}
    public C1creditCard(String cardNumber, String password, double lendMoney) {
        super(cardNumber, password);
        this.lendMoney = lendMoney;
    }
    public void setLendMoney(double lendMoney) {
        this.lendMoney = lendMoney;
    }
    public double getLendMoney() {
        return lendMoney;
    }
    public void lendmoney(){
        System.out.println("借钱为：" + this.lendMoney);
    }
}
